package org.omg.IOP;

/**
 * Generated from IDL definition of struct "ServiceContext"
 * 
 * @author IDL compiler
 */

final public class ServiceContextHolder implements
		org.omg.CORBA.portable.Streamable {
	public org.omg.IOP.ServiceContext value;

	public ServiceContextHolder() {
	}

	public ServiceContextHolder(org.omg.IOP.ServiceContext initial) {
		value = initial;
	}

	public org.omg.CORBA.TypeCode _type() {
		return org.omg.IOP.ServiceContextHelper.type();
	}

	public void _read(org.omg.CORBA.portable.InputStream _in) {
		value = org.omg.IOP.ServiceContextHelper.read(_in);
	}

	public void _write(org.omg.CORBA.portable.OutputStream _out) {
		org.omg.IOP.ServiceContextHelper.write(_out, value);
	}
}
